<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
      <link rel="stylesheet" href="./../../helpwin.css">
      <title>MATLAB File Help: prtDataSetClass/removeClasses</title>
   </head>
   <body>
      <!--Single-page help-->
      <table border="0" cellspacing="0" width="100%">
         <tr class="subheader">
            <td class="headertitle">MATLAB File Help: prtDataSetClass/removeClasses</td>
            
            
         </tr>
      </table>
      <div class="title">prtDataSetClass/removeClasses</div>
      <div class="helptext"><pre><!--helptext -->  <span class="helptopic">removeClasses</span> remove observations corresponding to
  specified classes
 
    subDataSet = dataSet.<span class="helptopic">removeClasses</span>(classes) returns a
    data set subDataSet containing only the observations that
    have DO NOT have targets equal to the specied values
 
    classes can be specified as an array of class values,
    or as a cell array of strings containing the class names.
 
    ds = prtDataGenIris;
    ds12 = ds.<span class="helptopic">removeClasses</span>(3);
 
    ds12_v2 = ds.<span class="helptopic">removeClasses</span>({'Iris-virginica'});

Help for <span class="helptopic">prtDataSetClass/removeClasses</span> is inherited from superclass <a href="./../prtDataInterfaceCategoricalTargets.html">prtDataInterfaceCategoricalTargets</a></pre></div><!--after help -->
      <!--Method-->
      <div class="sectiontitle">Method Details</div>
      <table class="class-details">
         <tr>
            <td class="class-detail-label">Defining Class</td>
            <td>prtDataInterfaceCategoricalTargets</td>
         </tr>
         <tr>
            <td class="class-detail-label">Access</td>
            <td>public</td>
         </tr>
         <tr>
            <td class="class-detail-label">Sealed</td>
            <td>false</td>
         </tr>
         <tr>
            <td class="class-detail-label">Static</td>
            <td>false</td>
         </tr>
      </table>
   </body>
</html>